/**
 * Copyright (c) Enalean, 2016. All Rights Reserved.
 *
 * This file is a part of Tuleap.
 *
 * Tuleap is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Tuleap is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Tuleap. If not, see <http://www.gnu.org/licenses/>.
 */

%tlp-avatar {
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;

    > img {
        width: 100%;
        height: 100%;
    }
}

.tlp-avatar-jumbo {
    @extend %tlp-avatar;

    width: 100px;
    height: 100px;
    background: url('images/tlp-avatar-jumbo.png');
}

.tlp-avatar-extra-large {
    @extend %tlp-avatar;

    width: 75px;
    height: 75px;
    background: url('images/tlp-avatar-extra-large.png');
}

.tlp-avatar-large {
    @extend %tlp-avatar;

    width: 50px;
    height: 50px;
    background: url('images/tlp-avatar-large.png');
}

.tlp-avatar {
    @extend %tlp-avatar;

    width: 35px;
    height: 35px;
    background: url('images/tlp-avatar.png');
}

.tlp-avatar-small {
    @extend %tlp-avatar;

    width: 25px;
    height: 25px;
    background: url('images/tlp-avatar-small.png');
}

.tlp-avatar-mini {
    @extend %tlp-avatar;

    width: 20px;
    height: 20px;
    background: url('images/tlp-avatar-mini.png');
}
